<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<c:set value="${requestScope.response.data.one }" var="one"/>
<jsp:useBean class="com.wsh.shop.users.pojo.AUsers" id="pojo"/>
<!DOCTYPE html>
<html lang="en">
	<head>
		<title>个人中心 - 商城</title>
		<%@ include file="/common/include/title.jsp"%>
	</head>
	<body>
		<jsp:include page="/MainHeadServlet">
			<jsp:param value="header" name="method"/>
		</jsp:include>
		<div id="mainBody">
			<div class="container">
				<div class="row">
					<%@ include file="/common/include/leftBar.jsp"%>
					<div class="span9">
						<ul class="breadcrumb">
							<li><a href="${rootPath }/MainHeadServlet?method=main">首页</a><span class="divider">/</span></li>
							<li class="active">修改密码</li>
						</ul>
						<table class="table table-bordered">
							<tbody>
								<tr>
									<th>修改密码</th>
								</tr>
								<tr>
									<td>
										<form class="form-horizontal" method="post" action="${rootPath }/head/UsersHeadServlet?method=usersUpdateSubmit">
											<input type="hidden" name="operType" value="${param.operType }">
											<div class="control-group">
												<label class="control-label" for="email">邮箱</label>
												<div class="controls">
													${one.email}
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="nickName">原密码</label>
												<div class="controls">
													<input type="password" id="souPass" placeholder="原密码" name="souPass" value="">
												</div>
											</div>
											<div class="control-group">
                                                <label class="control-label" for="nickName">新密码</label>
                                                <div class="controls">
                                                    <input type="password" id="password" placeholder="新密码" name="password" value="">
                                                </div>
                                            </div>
											<div class="control-group">
												<label class="control-label" for="nickName">确认密码</label>
												<div class="controls">
													<input type="password" id="confirmPass" placeholder="确认密码" name="confirmPass" value="">
												</div>
											</div>
											<div class="control-group">
												<div class="controls">
													<button type="submit" class="btn">提交</button>
												</div>
											</div>
											<div class="control-group">
												${response.info }
											</div>
										</form>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
			</div>
		</div>
		<%@ include file="/common/include/footer.jsp"%>
	</body>
</html>